package cc.mcggdd.leah.boot.stock.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.math.BigDecimal;

/**
 * 交易明细视图对象
 *
 * @author 
 * @since 2025-02-13 10:16
 */
@Getter
@Setter
@Schema( description = "交易明细视图对象")
public class StockTradingVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Long id;
    @Schema(description = "持仓ID")
    private Long holdingId;
    @Schema(description = "交易日期")
    private LocalDate date;
    @Schema(description = "单价")
    private BigDecimal price;
    @Schema(description = "数量")
    private Integer number;
    @Schema(description = "总金额")
    private BigDecimal amount;
    @Schema(description = "佣金")
    private BigDecimal commission;
    @Schema(description = "印花税")
    private BigDecimal stampTax;
    @Schema(description = "总手续费")
    private BigDecimal fee;
    @Schema(description = "状态")
    private String status;
}
